package jannex.query.field;

public abstract class Aggregation<T> extends Field<T> {

    public Aggregation(String columnName) {
    }

    public Over<T> over() {
        return null;
    }

    String example =
            "    ,SUM(OrderQty) OVER(PARTITION BY SalesOrderID) AS Total\n" +
                    "    ,AVG(OrderQty) OVER(PARTITION BY SalesOrderID) AS \"Avg\"\n" +
                    "    ,COUNT(OrderQty) OVER(PARTITION BY SalesOrderID) AS \"Count\"\n" +
                    "    ,MIN(OrderQty) OVER(PARTITION BY SalesOrderID) AS \"Min\"\n" +
                    "    ,MAX(OrderQty) OVER(PARTITION BY SalesOrderID) AS \"Max\"\n";
}
